<div class="clearfix">&nbsp;</div>

</div><!--nav3-->

<div class="nav3line"></div>

<div class="mfriend_my">
    <div class="msearch_results">
		 共有<span><?= $this->ret['data']['INFO']['COUNT']?></span>位好友
	</div><!--search_results-->
    <div class="mfriend_main">
		 <div class="mfriend_mr_left">
	<? if(count($this->ret['data']['ROWS'])>0): ?>
<? foreach($this->ret['data']['ROWS'] as $i=>$row):?>	  
			  <div class="mfriend_admin_mr">
			       <div class="mfriend_admin_mrl">
						<div class="imgborder">
							<a href="/?uid=<?=$row['uid']?>">
								<img class="avatar" src="<?= avatar_util_saver::get_path($row['uid'])?>"/>
							</a>
						</div>
					</div><!--mfriend_admin_mrl-->
					<div class="mfriend_admin_mrr">
					    <div class="mfriend_admin_mrr_right">
					    	<a class="add_buff" href="javascript: void(Friends.groupFrom(<?= $row['uid']?>))"><span class="friend_omit_icon"></span>修改分组</a>
							<a href="javascript: void(Friends.confirmRemoveRequest(<?= $row['uid']?>))"><span class="friend_omit_icon"></span>删除好友	</a>
							<a href="javascript: void()"><span class="friend_drop_icon"></span>移除本组	</a>
						</div><!--mfriend_admin_mrr_right-->
						<a class="mfiend_name" href="/?uid=<?= $row['uid']?>"><?= $row['username']?></a>
						<p>备注：
							<? if($row['remark']):?>
								<span class="friend_remark" title="点击修改备注" id="remark_<?= $row['uid']?>" onclick="javascript:Friends.remarkFrom(<?= $row['uid']?>)">
									<?= htmlspecialchars($row['remark'])?>
								</span>
								<span id="remark_input_<?= $row['uid']?>" style="display:none;">
									<input type="text" value="<?= htmlspecialchars($row['remark'])?>" id="remark_text_<?= $row['uid']?>" name="<?= $row['uid']?>" onBlur="javascript:Friends.editRemark(this)" size="10">
								</span>
							<? else :?>
								<span class="friend_remark" title="点击修改备注" id="remark_<?= $row['uid']?>" onclick="javascript:Friends.remarkFrom(<?= $row['uid']?>)">
									<?= htmlspecialchars($row['username'])?>
								</span>
								<span id="remark_input_<?= $row['uid']?>" style="display:none;">
									<input type="text" value="<?= htmlspecialchars($row['username'])?>" id="remark_text_<?= $row['uid']?>" name="<?= $row['uid']?>"  onBlur="javascript:Friends.editRemark(this)" size="10">
								</span>
							<? endif;?>
						
						</p>
					</div><!--mfriend_admin_mrr-->
			  </div><!--mfriend_admin_mr-->
			  
<? endforeach; ?>
<!--<?echo $this->genPages($this->ret['data']['INFO'], array('uid'=>$this->uid, 'friend'=>$this->friend));?>-->
<? else:?>
没有记录。
<?endif;?>
			  
			  
		 </div><!--mfriend_mr_left-->
		 <div class="mfriend_mr_right">
		     
			<div class="diary_class">
			
				<strong>好友分组</strong>
				<div class="diary_class_nav">
					<ul>
						<?php
						$this->_include('friends', 'group', 'embed', array(), false);
						?>
					</ul>
				</div><!--diary_class_nav-->
				<div class="diary_class_mana"><span class="sicon diary_class_mana_icon"></span><a href="javascript: void(Friends.groupFrom())">添加好友分组</a></div>
			</div><!--diary_class-->

		 </div><!--mfriend_mr_right-->
    </div><!--mfriend_main-->
</div><!--friend_my-->



<div id="group_from" style="display:none;">
分组名称: <input type="text" id="group_name" name="group_name" size="30">
</div>




</div><!--b_wrap end-->
</div><!--box end-->
</div><!--fbox-->

</div><!--cmain end-->
</div><!--content end-->